/* The dialog box where users enter starting points for the wiki spider */

#ifndef URLDIALOG_H
#define URLDIALOG_H

#include <QDialog>

class QListWidget;
class QLabel;
class QErrorMessage; // if not valid wikipedia page

class urlDialog : public QDialog
{
    Q_OBJECT

public:
    urlDialog(QWidget *parent = 0);

private slots:
    void addUrl();
    void removeUrl();
    void editUrl();
    void confirmDel();
    void closeDialog();
    void saveUrls();

private:
    QListWidget *urlList;
    QLabel *urlPrefix;
    QErrorMessage *notValidPage; // possibly look to see if actual wikipedia page?
};

#endif
